﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace _2013_ece_csharp_snake
{
    public class ConnectionInformation
    {
        public String playerName;
        public String playerIP;
        public List<String> hostsIP;
        public List<String> hostsName;
        public EventWaitHandle eventCo;
        public EventWaitHandle eventConfirmation;
        public String myIP;
        public String myName;

        public bool connected;

        public ConnectionInformation()
        {
            hostsIP = new List<String>();
            hostsName = new List<String>();

            eventCo = new EventWaitHandle(false, EventResetMode.AutoReset);
            eventConfirmation = new EventWaitHandle(false, EventResetMode.AutoReset);

            connected = false;

            myIP = "NA";
            myName = "NA";
        }
    }
}
